home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VELLIPSE.S < prev    next >
Text File  |  1993-03-16  |  963b  |  39 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Ellipse.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_ellipse
  11. _v_ellipse:
  12.  
  13. ;    .cargs    #8,handle.w,x.w,y.w,xradius.w,yradius.w
  14.  
  15. handle      =         8
  16. x          =         10
  17. y          =         12
  18. xradius   =         14
  19. yradius   =         16
  20.  
  21.           link        a6,#0
  22.  
  23. ;          VContrl    #11,#5,#2
  24.           move.w    handle(a6),-(sp)    ; contrl[6]
  25.           move.w    #5,-(sp)            ; contrl[5]
  26.           subq.l    #2,sp                ; contrl[4]
  27.           clr.l     -(sp)                ; contrl[3,2]
  28.           move.w    #2,-(sp)            ; contrl[1]
  29.           move.w    #11,-(sp)            ; contrl[0]
  30.  
  31.           subq.l    #8,sp                ;* -> ptsout, intout
  32.           pea        x(a6)                ;* -> ptsin
  33.           subq.l    #4,sp                ;* -> intin
  34.           pea        16(sp)                ;* -> contrl
  35.  
  36.           jmp        vdicall
  37.  
  38.           end
  39.